package com.andrew.entity;

import java.math.BigDecimal;
import java.util.List;

public class CartDetailBean {
	
	private Book book;
	private int quantity;
	private BigDecimal price;
	
	
	public Book getBook() {
		return book;
	}


	public void setBook(Book book) {
		this.book = book;
	}


	public int getQuantity() {
		return quantity;
	}


	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}


	public BigDecimal getPrice() {
		return price;
	}


	public void setPrice(BigDecimal price) {
		this.price = price;
	}


	@Override
	public String toString() {
		return "CartDetailBean [book=" + book + ", quantity=" + quantity + ", price=" + price + "]";
	}


	public CartDetailBean(Book book, int quantity, BigDecimal price) {
		super();
		this.book = book;
		this.quantity = quantity;
		this.price = price;
	}
	
	
	public CartDetailBean() {}
	
	
	
}
